Maybe throw exception instead so you do not silently mask an underlying error?