Skip to content

fix: Patch to resolve issue #13#14

Merged
germanattanasio merged 2 commits into
watson-developer-cloud:masterfrom
hongjsk:master
Nov 9, 2020
Merged

fix: Patch to resolve issue #13#14
germanattanasio merged 2 commits into
watson-developer-cloud:masterfrom
hongjsk:master

Conversation

@hongjsk

@hongjsk hongjsk commented Nov 2, 2020

Copy link
Copy Markdown
Contributor

Like @mamoonraja did, I've experienced the 502 Bad gateway error frequently on https://visual-recognition-code-pattern.ng.bluemix.net/ when I uploaded images. However, it works fine when I choose the example image packaged in application code!

So, I doubted if this is happening when there was a problem creating the image file in the Cloud Foundry runtime. After I review the code i knew that there is no error handler for creating temporary files and it does not remove temporary files after use.

In this PR, I added the error handler and the code to remove the temporary file.

Thanks.

JeongSeok Hong added 2 commits November 2, 2020 23:00
@germanattanasio germanattanasio changed the title Patch to resolve issue #13 fix: Patch to resolve issue #13 Nov 9, 2020
@germanattanasio
germanattanasio merged commit b9de400 into watson-developer-cloud:master Nov 9, 2020
@watson-github-bot

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants