Coder Social home page Coder Social logo

emotion-checker's Introduction

Container Apps & Cognitive demo

emotion-checker's People

Contributors

jimpaine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

emotion-checker's Issues

TraceWriter has been made obsolete and needs to be replace with ILogger

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.