Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return error when failed to get user from database #700

Merged
merged 2 commits into from
Sep 18, 2024
Merged

Conversation

feiniks
Copy link
Contributor

@feiniks feiniks commented Sep 18, 2024

No description provided.

g_free (email_down);
return emailuser;
} else if (rc < 0) {
if (error) {
g_set_error (error, CCNET_DOMAIN, 500, "Database error");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里应该统一用 CCNET_ERR_INTERNAL 吧。

@killing killing merged commit 72753e1 into master Sep 18, 2024
6 checks passed
@killing killing deleted the ret_db_err branch September 18, 2024 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants