add error handling for gulp commit task