You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say I find something unexpected in the data when in a component, and I want to warn the user of this issue.
I currently use console.warn() for this, but this makes it so the warnings are interfering with the gatsby output and it's pretty ugly.
Is there any way to use reporter.warn() here or maybe pass a message to gatsby-node's onPostBuild?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Say I find something unexpected in the data when in a component, and I want to warn the user of this issue.
I currently use console.warn() for this, but this makes it so the warnings are interfering with the gatsby output and it's pretty ugly.
Is there any way to use reporter.warn() here or maybe pass a message to gatsby-node's onPostBuild?
Beta Was this translation helpful? Give feedback.
All reactions