global exception handling for bug reports