Print stack trace in case an exception occus