better support for error traces