Added working stack trace in case of exception