Hardik commited on
Commit
18daf48
·
1 Parent(s): b94512a

Forward ML load_errors in health endpoint

Browse files
backend/src/controllers/predict.controller.js CHANGED
@@ -66,6 +66,7 @@ const getHealth = async (req, res, next) => {
66
  lstm: false,
67
  bert: false
68
  },
 
69
  version: "1.0.0"
70
  });
71
  } catch (error) {
 
66
  lstm: false,
67
  bert: false
68
  },
69
+ load_errors: mlHealth?.load_errors || {},
70
  version: "1.0.0"
71
  });
72
  } catch (error) {