Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Script include assistance

GabeF
Tera Contributor

This is the Script Include, the call breaks on the console.log statement.

It executes the prototype statement but then exits

2 REPLIES 2

Jennifer Metz
Tera Guru

Hello @GabeF,

 

Replace console.log with gs.info('PhotoshootSlotChecker Loaded');

 

When using a scoped application, server side logging requires you to use the following:

  • gs.debug() – detailed debug output

  • gs.info() – general informational logging

  • gs.warn() – warnings

  • gs.error() – errors

 

I recommend reviewing Debugging Best Practices on the developer portal. 

 

I hope this helps!

 

Jennifer Metz
Technical Lead | Infosys

Thanks Jennifer, I'd just read that in the same link.