我有一个在本地计算机上运行的应用程序,但是将其部署到heroku时会崩溃。
错误日志显示错误H10并显示:
let isWithinToleranceOf expectedFunc tolerance actual =
let helper (x, y) =
expectedFunc x - tolerance <! y
expectedFunc x + tolerance >! y
try
actual
|> List.map helper
|> ignore
with
| e -> printfn "\n\nMy info here\n\n"
raise e