Closed feltech closed 1 year ago
Part of #15. USD cannot handle exceptions being thrown during stage resolution and will terminate the application (sigabrt/segfault).
Best guess so far for the expected error behaviour is to return a default-constructed object (e.g. empty string, invalid timestamp, etc).
So add and use a decorator that will catch all exceptions and log them before returning a default-constructed object.
Part of #15. USD cannot handle exceptions being thrown during stage resolution and will terminate the application (sigabrt/segfault).
Best guess so far for the expected error behaviour is to return a default-constructed object (e.g. empty string, invalid timestamp, etc).
So add and use a decorator that will catch all exceptions and log them before returning a default-constructed object.