jimpaine / emotion-checker Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
On the latest build warnings are output saying TraceWriter has been made obsolete and to use ILogger from here
However, after making the change to ILogger I hit an issue where the function would throw HTTP 500, application insights showed that the function was throwing an exception of "Error indexing method" when it was first hit.
On some investigation it seems that this is an issue with extensions and when the build completes outputting an empty array within the extensions.json within the bin folder.
How to reproduce
Install this NuGet package from here
Then within function.cs replace TraceWriter with ILogger, see here
Expected
Function works as expected, returning HTTP 200s when faces are found and HTTP 404s when no faces are found
Actual
Function returns HTTP 500 and application insights shows an exception of "Error indexing method"
Next Steps
I have rolled back to TraceWriter see here and need to investigate further, with the ideal plan to move back to ILogger to clean up the build warning.
Deployed but cognitive service is not returning any value...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.