improve action error reporting