remove debug print

This commit is contained in:
Joey Hess 2023-12-05 15:56:58 -04:00
parent 10964f91bc
commit 1a586f80e6
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -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