refactor: do not show product save success message if an exception is thrown