···3131gleam_json = { version = ">= 0.6.0 and < 2.0.0" }
3232gleam_stdlib = { version = ">= 0.29.0 and < 2.0.0" }
3333gleeunit = { version = "~> 1.0" }
3434-logging = { version = ">= 1.0.0 and < 2.0.0" }
3434+logging = { version = ">= 1.2.0 and < 2.0.0" }
3535marceau = { version = ">= 1.1.0 and < 2.0.0" }
3636mist = { version = ">= 1.2.0 and < 2.0.0" }
3737simplifile = { version = ">= 2.0.0 and < 3.0.0" }
+4-1
test/wisp_test.gleam
···11+import exception
12import gleam/bit_array
23import gleam/crypto
34import gleam/dict
···333334}
334335335336pub fn rescue_crashes_error_test() {
336336- // TODO: Determine how to silence the logger for this test.
337337+ wisp.set_logger_level(wisp.CriticalLevel)
338338+ use <- exception.defer(fn() { wisp.set_logger_level(wisp.InfoLevel) })
339339+337340 {
338341 use <- wisp.rescue_crashes
339342 panic as "we need to crash to test the middleware"