improved juniper error reporting