You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my Swift 3.0.2 server app on Heroku (which runs it on Ubuntu 14.04), when I call String(contentsOfFile:encoding🙂 with an inaccessible path (FileManager.default.fileExists returns false for it), the function aborts the program. The following error is shown in heroku logs:
Environment
Ubuntu 14.04 + swift-3.0.2-RELEASE-ubuntu14.04 (reproducible with Swift 3.0.1 too)
Additional Detail from JIRA
md5: a4ba08e19e134dfdda23ed7c49636284
duplicates:
Issue Description:
In my Swift 3.0.2 server app on Heroku (which runs it on Ubuntu 14.04), when I call
String(contentsOfFile:encoding🙂
with an inaccessible path (FileManager.default.fileExists
returns false for it), the function aborts the program. The following error is shown inheroku logs
:There's no error message other than that. On my local machine (macOS) the call properly throws an error for a non-existent file.
The text was updated successfully, but these errors were encountered: