gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit0788e65f0788e65f|||PR re-vendor Hybriel day72mre0788e65f/plugins/fetch/tests/refused_catch.hl

635 B

  1. import { fetch } from 'hl:fetch'
  2. import { env } from 'hl:proc'
  3. \* Mission 517: a refused connection, an unknown host and a connect timeout are
  4. ordinary errors that `on Error` absorbs; fetch then gives back null. *\
  5. let caught = 0
  6. on Error(e) {
  7. console.log('caught: ' + e.message)
  8. caught = caught + 1
  9. }
  10. let port = env('HL_TEST_PORT')
  11. let a = fetch('http://127.0.0.1:' + port + '/x', { method = 'POST' json = { a = 1 } })
  12. let b = fetch('https://127.0.0.1:' + port + '/x')
  13. let c = fetch('http://nonexistent.invalid/x', { timeoutMs = 3000 })
  14. console.log('done ' + caught + ' ' + (a == null) + ' ' + (b == null) + ' ' + (c == null))

Branches

Latest commits

  • 0788e65f|||PR re-vendor Hybriel day72mre
  • 8a7f475aMerge branch 'records-t33' into mainTickets
  • e685d0c2|||PR records: PROCEDURES merge callmre
  • b42aff2b|||PR records: GO 2026-11-23, workers L33 O34, PROCEDURES.mdmre
  • ed091d44Merge branch 'records' into mainTickets
  • 180c0cdb|||PR records: ticket move live (M32), hybriel#439mre
  • 497cae7bMerge branch 'm32-move' into mainTickets
  • 772e0696|||PR Allow project admins to move tickets between their projectsmre
  • be92a560Merge branch 'records' into mainTickets
  • 0daf2ea8|||PR records: PR-only workflow, #50 donemre
  • 0185d0b6Log PR 1 deploymre
  • f5bf16e2Mission 031: deploy PR 1mre
  • c69cd5f3Merge branch 'pr-flow' into mainTickets
  • cc56798cLog gitoria PR-only requestmre
  • d876d0b2|||PR README: changes land as PRsmre
  • fd83ac1fconductor: caramboleyo is the user, not owner/creatorApollo
  • 3b858c91Log backup hard-link fixmre
  • 7f6b37a0deploy.sh backup: tar --hard-dereference (hard links broke mpackdb sidecars on restore)mre
  • e93711d9Log E30 livemre
  • 59c02e4dMerge e30: preserve edited state note labels in Markdownmre