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

trap apparent null return from datelife #320

Open
arlin opened this issue Jul 6, 2018 · 3 comments
Open

trap apparent null return from datelife #320

arlin opened this issue Jul 6, 2018 · 3 comments
Assignees

Comments

@arlin
Copy link
Member

arlin commented Jul 6, 2018

  1. Choose taxon "Anura", get 20 popular names.
  2. Choose "Anura" from list of matching taxa.
  3. Choose "get tree"

An error message will appear when the portal is trying to get the SDM tree. See error messages below.

Screen Shot 2018-07-06 at 1.23.06 PM.png

Screen Shot 2018-07-06 at 1.25.17 PM.png

@arlin arlin added the ready label Jul 6, 2018
@arlin arlin added the bug label Jul 6, 2018
@arlin arlin added this to the Phylotastic general manuscript milestone Jul 6, 2018
@ducvan0212
Copy link
Collaborator

The error message is all the portal got from the service. It is not the error from the portal, so in order to figure out what is wrong, I suggest to debug the library from the service. What do you think, @abusalehmdtayeen ?

@abusalehmdtayeen
Copy link

abusalehmdtayeen commented Oct 5, 2018

@ducvan0212 , I can return a special status code for this specific error when it occurs in datelife. Then based on the status code you can decide whether to show the scale option in the portal or not.

@ducvan0212
Copy link
Collaborator

@abusalehmdtayeen I can use regex to detect the error, and display appropriate and friendly message in the portal. What message do you want to show if the error occurs, @arlin ?

@arlin arlin removed this from the Phylotastic general manuscript milestone Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants