message: bot - history - dont craft if unknown flow
diff: @@ -210,7 +210,12 @@ const tryWithdraw = async (swap, { secret }) => {
  const getInProgress = ({ query: { parsed, withFees }}, res) => {
  const swaps = history
  .getAllInProgress()
  - .map(id => new Swap(id, app))
  + .map((id) => {
  + try {
  + const swapData = new Swap(id, app)
  + } catch (e) { return false }
  + })
  + .filter((swapData: Swap | boolean) => { return swapData !== false })
  if (!parsed) {
  return res.json(swaps.map(swapView))
  @@ -227,7 +232,13 @@ const getInProgress = ({ query: { parsed, withFees }}, res) => {
  const getFinished = ({ query: { parsed, withFees }}, res) => {
  const swaps = history
  .getAllFinished()
  - .map(id => new Swap(id, app))
  + .map((id) => {
  + try {
  + const swapData = new Swap(id, app)
  + return swapData
  + } catch (e) { return false }
  + })
  + .filter((swapData: Swap | boolean ) => { return swapData !== false })
  if (!parsed) {
  return res.json(swaps.map(swapView))
  