import * as React from "react"; import { get } from "lodash"; import { Page } from "./ui/index"; import { Session } from "./session"; import { ExternalUrl } from "./external_urls"; /** Use currying to pass down `error` object for now. */ export function crashPage(error: object) { return class CrashPage extends React.Component<{}, {}> { render() { const stack = get(error, "stack", "No stack."); const message = get(error, "message", "No message available."); window.Rollbar && window.Rollbar.error && window.Rollbar.error(error); const msg = JSON.stringify({ message, stack }); return

Something went wrong!

We hit an internal error while rendering this page.

We have been notified of the issue and will investigate a solution shortly.


Resolving the Issue

  1. Perform a "hard refresh" (CTRL + SHIFT + R on most machines).
  2. Session.clear()}>Log out by clicking here.
  3. Send the error information (below) to our developer team via the FarmBot software forum. Including additional information (such as steps leading up to the error) help us identify solutions more quickly.

          
{msg}
; } }; }