web: better log info
This commit is contained in:
parent
7f1ea5cfed
commit
257fd09729
1 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ function on_timer_invalidations() {
|
||||||
* relative REQ as needed.
|
* relative REQ as needed.
|
||||||
*/
|
*/
|
||||||
function on_pool_open(relay) {
|
function on_pool_open(relay) {
|
||||||
log_info("opened relay", relay);
|
log_info(`OPEN(${relay.url})`);
|
||||||
const model = DAMUS;
|
const model = DAMUS;
|
||||||
relay.subscribe(model.ids.account, filter_new_initial(model.pk));
|
relay.subscribe(model.ids.account, filter_new_initial(model.pk));
|
||||||
}
|
}
|
||||||
|
@ -132,7 +132,7 @@ async function on_pool_eose(relay, sub_id) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function on_pool_ok(relay) {
|
function on_pool_ok(relay) {
|
||||||
console.log("OK", arguments);
|
console.log(`OK(${relay.url})`, arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
function on_pool_event(relay, sub_id, ev) {
|
function on_pool_event(relay, sub_id, ev) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue