add exception stack-trace output for dev env