report errors properly when proxy enabled