replace grunt error calls