Skip to content

Conversation

aynsix
Copy link
Collaborator

@aynsix aynsix commented Jul 9, 2024

Changelog

Fixes

  • PHRAS-4084: workers - cancel a workers jobs if error is "record not found"

}

$body = json_decode($body, true);
if (json_last_error() !== JSON_ERROR_NONE) {
$output->writeln('<error>Invalid message body</error>');

return;
return 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not returning a error code ? (1 ?) see: https://hpc-discourse.usc.edu/t/exit-codes-and-their-meanings/414

same thing todo for every failure point (catch's)

@nmaillat nmaillat added the DO_NOT_MERGE for tests only; please pull label Oct 24, 2024
@nmaillat nmaillat added the WIP label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.1 Discussion DO_NOT_MERGE for tests only; please pull WIP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants