1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-27 15:43:50 +00:00

Return error when failed to get user from database (#700)

* Return error when failed to get user from database

* Use CCNET_ERR_INTERNAL

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
feiniks
2024-09-18 16:28:15 +08:00
committed by GitHub
parent f27ab0847b
commit 72753e152b
6 changed files with 39 additions and 18 deletions

View File

@@ -148,6 +148,8 @@ traverse_directory_win32 (wchar_t *path_w,
#define CCNET_DOMAIN g_quark_from_string("ccnet")
#define CCNET_ERR_INTERNAL 500
struct timeval timeval_from_msec (uint64_t milliseconds);