staging: slicoss: error handling with goto