on error, give a pause to allow the user to see the stacktrace