fix error handling path.
1 file changed