diff --git a/applications/api.moon b/applications/api.moon index e4bd41f..8163426 100644 --- a/applications/api.moon +++ b/applications/api.moon @@ -25,7 +25,7 @@ class API extends Application return status: 500, json: { errors: {err}, :trace } -- NOTE trace should be saved and NOT returned to the user [err_test: "/err"]: => - error! + error "this is a testing error" [new: "/new"]: capture_errors_json json_params => assert_valid @params, {