Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
879c123e
Commit
879c123e
authored
Feb 03, 2022
by
Rob Swindell
💬
Browse files
Add debug log lines to help root-cause issue
#334
parent
5cbdb404
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
exec/nntpservice.js
exec/nntpservice.js
+2
-0
No files found.
exec/nntpservice.js
View file @
879c123e
...
@@ -890,6 +890,7 @@ while(client.socket.is_connected && !quit) {
...
@@ -890,6 +890,7 @@ while(client.socket.is_connected && !quit) {
body
=
decode_news_body
(
hdr
,
body
);
body
=
decode_news_body
(
hdr
,
body
);
log
(
LOG_DEBUG
,
"
hdr.newsgroups:
"
+
hdr
.
newsgroups
);
var
newsgroups
=
hdr
.
newsgroups
.
split
(
'
,
'
);
var
newsgroups
=
hdr
.
newsgroups
.
split
(
'
,
'
);
if
(
hdr
.
to
==
undefined
&&
hdr
.
reply_id
!=
undefined
)
if
(
hdr
.
to
==
undefined
&&
hdr
.
reply_id
!=
undefined
)
...
@@ -916,6 +917,7 @@ while(client.socket.is_connected && !quit) {
...
@@ -916,6 +917,7 @@ while(client.socket.is_connected && !quit) {
break
;
break
;
}
}
log
(
LOG_DEBUG
,
"
newsgroups:
"
+
newsgroups
);
for
(
n
in
newsgroups
)
for
(
n
in
newsgroups
)
for
(
g
in
msg_area
.
grp_list
)
for
(
g
in
msg_area
.
grp_list
)
for
(
s
in
msg_area
.
grp_list
[
g
].
sub_list
)
for
(
s
in
msg_area
.
grp_list
[
g
].
sub_list
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment