Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Problem with stringified JSON #39

Open
fguitton opened this issue Jun 9, 2018 · 1 comment
Open

Problem with stringified JSON #39

fguitton opened this issue Jun 9, 2018 · 1 comment
Assignees

Comments

@fguitton
Copy link
Member

fguitton commented Jun 9, 2018

There is an issue here :

end_fn(Constants.EAE_JOB_STATUS_ERROR, 1, 'Pre-exec - ' + error.toString());

Where the string appending Pre-exec - and a stringified JSON object becomes non-deserializable.

@fguitton
Copy link
Member Author

fguitton commented Jun 9, 2018

Actually @aoehmichen, it seems that this is the case everywhere :

end_fn(Constants.EAE_JOB_STATUS_ERROR, 1, 'Spawn - ' + error.toString());

I think i'd be better to get some objects. Strings are evil, lemme come up with something.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant