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

DBLP import: revert change and throw abstract errors #2090

Merged
merged 7 commits into from
Apr 16, 2024

Conversation

melisabok
Copy link
Member

@melisabok melisabok commented Apr 10, 2024

  • Add the readers and writers to the edit that is posted in the process function so authors can see it
  • Don't catch the extract abstract errors so we are notified when the cloud function fails.

}
} catch (error) {
console.log('server error: ' + error);
if (html) {
Copy link
Contributor

Choose a reason for hiding this comment

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

i think the service will be changed to always return json so do we still want the process funtion to fail here

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, I want the process function to fail when there is a network error (OpenReviewException)

@melisabok melisabok marked this pull request as ready for review April 11, 2024 20:30
@melisabok melisabok changed the title revert change and throw abstract errors DBLP import: revert change and throw abstract errors Apr 11, 2024
@@ -10,10 +10,11 @@ async function process(client, edit, invitation) {
}

const html = note.content.html?.value;
let abstractError = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

i think it will be helpful to log note id in process function

@melisabok
Copy link
Member Author

@carlosmondra @xkopenreview this PR should be ready to be merged!

@xkopenreview
Copy link
Contributor

@carlosmondra @xkopenreview this PR should be ready to be merged!

the invitation in production will need to be updated manually correct?

@melisabok
Copy link
Member Author

We need to re-run the ProfileManagenment script, Celeste does it every time she does a new release.

@xkopenreview xkopenreview merged commit 184532e into master Apr 16, 2024
1 check passed
@melisabok melisabok deleted the fix/throw-abstract-errors branch April 17, 2024 17:00
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.

None yet

3 participants