airqo-platform / airqo-platform/AirQo-api

Improve error handling in method of

未關閉
#3,521 0 則留言 0 個 reaction 已指派 1 人 已被 @Baalmart 認領 在 GitHub 檢視
主要語言
JavaScript
星號
26
分支
24
平均合併
5 小時 36 分鐘
30 天內合併 PR
81

描述

As discussed in the code review, we can enhance the error handling in the `updateDraftStatus` method of the `BlogPostController` to provide more specific error messages for different scenarios.

Pull Request: https://github.com/airqo-platform/AirQo-api/pull/3520

Comment: https://github.com/airqo-platform/AirQo-api/pull/3520#discussion_r1775561359

Reported by @Baalmart.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。