Catch errors while using stock