unmangled exception handling after moving away from rest based plug that caused bad output