tracker
All repositories: gitoria
635 B
import { fetch } from 'hl:fetch'import { env } from 'hl:proc'\* Mission 517: a refused connection, an unknown host and a connect timeout areordinary errors that `on Error` absorbs; fetch then gives back null. *\let caught = 0on Error(e) {console.log('caught: ' + e.message)caught = caught + 1}let port = env('HL_TEST_PORT')let a = fetch('http://127.0.0.1:' + port + '/x', { method = 'POST' json = { a = 1 } })let b = fetch('https://127.0.0.1:' + port + '/x')let c = fetch('http://nonexistent.invalid/x', { timeoutMs = 3000 })console.log('done ' + caught + ' ' + (a == null) + ' ' + (b == null) + ' ' + (c == null))
Branches
Latest commits
- 55257852log: #53 live, #56 mergedmre
- 78b39f1bMerge hm56-rows: tracker#56 list builders insert oncemre
- 6da612fclog: T36A tool defectmre
- 08e55255log: HM56 done, T36A startedmre
- 91bcdf0eAvoid per-row list copies and reproduce keyed-row blockersmre
- 5fd2ac75status: #36 GOmre
- 0d253b45mission: T36Amre
- 2aa22d23log: #36 GOmre
- 833aee2flog: #50 closed, HM56 startedmre
- ac58c1e5mission: HM56mre
- 58979c0clog: HM54 held for decision, DP65 startedmre
- bb2ebc67log: #64 live, #53 mergedmre
- 27cde42fMerge hm53-dom: tracker#53 inputs bound to membersmre
- 2156cc7flog: HM54 reviewmre
- 9fb82efclog: HM54 gap, fill continuesmre
- b632eb8dlog: HM53 done, HM54 startedmre
- ccb1a263tracker#53: bind editor drafts and use key event focus targetmre
- 3356fcfclog: #52 blocked, HM53 startedmre
- 833dcfc9Merge hm52-search: report only, tracker#52 blocked by framework gapmre
- 73010cc0HM52: report replace-navigation search draft regressionmre