https://github.com/ga4gh/dockstore
Revision 227feddbc08ebafbc0b28bcac2df5ebb106d21b7 authored by Charles Overbeck on 23 January 2019, 19:19:42 UTC, committed by GitHub on 23 January 2019, 19:19:42 UTC
#2034 Saving a new hosted workflow version calls `ElasticManager.handleIndexUpdate`, which would cause an error to be logged if the the workflow is not published. Log it at info level instead, since it's not an error condition. The other option is to not call the method at all if the workflow is not published, but the method is called from several places, and that seemed slightly riskier. Also noticed that if there is an error in the response from the ElasticManager, that wasn't being logged at the error level.
1 parent 88d8d24
Tip revision: 227feddbc08ebafbc0b28bcac2df5ebb106d21b7 authored by Charles Overbeck on 23 January 2019, 19:19:42 UTC
Don't log error when saving a non-published workflow (#2039)
Don't log error when saving a non-published workflow (#2039)
Tip revision: 227fedd
File | Mode | Size |
---|---|---|
.github | ||
THIRD-PARTY-NOTICES | ||
dockstore-client | ||
dockstore-common | ||
dockstore-event-consumer | ||
dockstore-file-plugin-parent | ||
dockstore-integration-testing | ||
dockstore-webservice | ||
reports | ||
scripts | ||
swagger-java-bitbucket-client | ||
swagger-java-client | ||
swagger-java-quay-client | ||
swagger-java-sam-client | ||
.codecov.yml | -rw-r--r-- | 119 bytes |
.gitignore | -rw-r--r-- | 1.9 KB |
.travis.yml | -rw-r--r-- | 5.2 KB |
CHANGELOG.md | -rw-r--r-- | 741 bytes |
CITATION | -rw-r--r-- | 551 bytes |
Dockstore.cwl | -rw-r--r-- | 518 bytes |
LICENSE | -rw-r--r-- | 11.1 KB |
README.md | -rw-r--r-- | 12.8 KB |
checkstyle-suppressions.xml | -rw-r--r-- | 2.1 KB |
checkstyle.xml | -rw-r--r-- | 12.3 KB |
codestyle.xml | -rw-r--r-- | 12.4 KB |
encrypt.sh | -rwxr-xr-x | 1.6 KB |
expand_confidential_bundle.sh | -rwxr-xr-x | 1.4 KB |
findbugs-exclude.xml | -rw-r--r-- | 952 bytes |
legacy.md | -rw-r--r-- | 6.1 KB |
pom.xml | -rw-r--r-- | 54.3 KB |
propose_migration.sh | -rw-r--r-- | 1.3 KB |
secrets.tar.enc | -rw-r--r-- | 120.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...