StaticConfiguration.DisableErrorTraces = false

StaticConfiguration这是一个静态类,需要using Nancy;