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. - to help identify what call was responsible.
-} -}
openTmpFileIn :: FilePath -> String -> IO (FilePath, Handle) openTmpFileIn :: FilePath -> String -> IO (FilePath, Handle)
openTmpFileIn dir template = do openTmpFileIn dir template = openTempFile dir template
liftIO $ print ("openTmpFileIn", dir, template) `catchIO` decoraterrror
openTempFile dir template
`catchIO` decoraterrror
where where
decoraterrror e = throwM $ decoraterrror e = throwM $
let loc = ioeGetLocation e ++ " template " ++ template let loc = ioeGetLocation e ++ " template " ++ template