Modded the process failure to pass an error instead of a string.