remove debug print
This commit is contained in:
parent
10964f91bc
commit
1a586f80e6
1 changed files with 2 additions and 4 deletions
|
@ -35,10 +35,8 @@ type Template = String
|
|||
- to help identify what call was responsible.
|
||||
-}
|
||||
openTmpFileIn :: FilePath -> String -> IO (FilePath, Handle)
|
||||
openTmpFileIn dir template = do
|
||||
liftIO $ print ("openTmpFileIn", dir, template)
|
||||
openTempFile dir template
|
||||
`catchIO` decoraterrror
|
||||
openTmpFileIn dir template = openTempFile dir template
|
||||
`catchIO` decoraterrror
|
||||
where
|
||||
decoraterrror e = throwM $
|
||||
let loc = ioeGetLocation e ++ " template " ++ template
|
||||
|
|
Loading…
Reference in a new issue