Skip to content

Commit

Permalink
Job error handling improvement.
Browse files Browse the repository at this point in the history
  • Loading branch information
NotTimTam committed Sep 13, 2024
1 parent d2a5ffd commit 9a15213
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nottimtam/file-converter",
"version": "1.2.8",
"version": "1.2.9",
"description": "A headless, self-hostable, open-source file conversion express middleware.",
"main": "index.js",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions util/Job.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ export default class Job {
},
options
);

this.status.step = "done";
} catch (err) {
this.status.step = "failed";
this.status.error = err.toString();
}

this.status.step = "done";
}
}

0 comments on commit 9a15213

Please sign in to comment.