Adding proper error handling for Plumber