Skip to content

An error in a 'before' task hook makes 'error' hooks complain about not being called in a 'after/error' #95

@robinbourianes-kalisio

Description

@robinbourianes-kalisio

In this job for example : https://github.com/kalisio/c3x-arpege/blob/ef7bd729dcbcf14d435313904a683dd735603150/jobfile-arpege-0.1.js

If there's an error in connectFTP which is a before hook, then disconnectFTP called in the error hooks complains that it should only be called in a after/error hook as seen here
If the error happens in some of the after hooks, then error hooks work fine.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Bugs

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions