benjamin-paine commited on
Commit
f6f5e42
·
verified ·
1 Parent(s): a5bf364

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +7 -1
index.html CHANGED
@@ -272,7 +272,13 @@
272
  const active = {};
273
 
274
  /** Instantiate */
275
- const heyBuddy = new HeyBuddy(options);
 
 
 
 
 
 
276
 
277
  /** Add callbacks */
278
 
 
272
  const active = {};
273
 
274
  /** Instantiate */
275
+ let heyBuddy;
276
+ try {
277
+ heyBuddy = new HeyBuddy(options);
278
+ } catch(e) {
279
+ console.error("Couldn't make heybuddy", e);
280
+ heyBuddy = new HeyBuddy(options);
281
+ }
282
 
283
  /** Add callbacks */
284