Fix: error not handled with @SetsCookies

This PR fixes issue #914.