Skip to content

Creating a non-existent directory in the root directory silently fails #4

@mineo

Description

@mineo

» git rev-parse HEAD
2cb6678
» cabal repl
Preprocessing library directory-1.2.1.1...
[1 of 1] Compiling System.Directory ( System/Directory.hs, dist/build/System/Directory.o )
[...]
*System.Directory> createDirectoryIfMissing True "/foo"
*System.Directory> createDirectoryIfMissing True "/foo/bar"
*** Exception: /foo/bar: createDirectory: does not exist (No such file or directory)

AFAICT

) `E.catch` ((\_ -> return ()) :: IOException -> IO ())
is swallowing the exception thrown by
else throw e
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: (1) bugThe described behavior is not working as intended.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions