Actions
Bug #24591
closedIncorrect error reporting for MS DHCP
Fixed in Releases:
Found in Releases:
Description
When request fail, error is not reported correctly and this is thrown instead:
E, [2018-08-10T19:55:09.502316 42606010] ERROR -- : undefined local variable or method `opts' for ms dhcp server:Proxy::DHCP::NativeMS::Provider D, [2018-08-10T19:55:09.502316 42606010] DEBUG -- : undefined local variable or method `opts' for ms dhcp server:Proxy::DHCP::NativeMS::Provider (NameError) C:/smart-proxy-1.18.0/modules/dhcp_native_ms/dhcp_native_ms_main.rb:224:in `rescue in build_lease' C:/smart-proxy-1.18.0/modules/dhcp_native_ms/dhcp_native_ms_main.rb:212:in `build_lease' C:/smart-proxy-1.18.0/modules/dhcp_native_ms/dhcp_native_ms_main.rb:209:in `block in all_leases' C:/smart-proxy-1.18.0/modules/dhcp_native_ms/dhcp_native_ms_main.rb:209:in `map' C:/smart-proxy-1.18.0/modules/dhcp_native_ms/dhcp_native_ms_main.rb:209:in `all_leases' C:/smart-proxy-1.18.0/modules/dhcp_native_ms/dhcp_native_ms_main.rb:109:in `unused_ip' C:/smart-proxy-1.18.0/modules/dhcp/dhcp_api.rb:34:in `block in <class:DhcpApi>' C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sinatra-2.0.3/lib/sinatra/base.rb:1635:in `call' C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sinatra-2.0.3/lib/sinatra/base.rb:1635:in `block in compile!'
Actions