bugfix: reenabled printing exceptions in debug mode