let run_and_catch_error =
  Dynamic.register "Jessie.run_analysis"
    (Type.func Type.unit Type.unit)
    ~journalize:true
    run_and_catch_error