DEVIDM-95: Modification, error should only be set in flash from the error handler.