Slightly better error handling
Ssl errors may return a stack