Fixes DAMSON error handling

- DAMSON errors are now correctly parsed.