rethrow exception for debug