Removed unneeded arguments from onerror
Removed unneeded arguments from onerror

warriorframework/warriorframework,warriorframework/warriorframework,warriorframework/warriorframework,warriorframework/warriorframework