Adds error handling for when no bridges are found