Skip to content

Commit

Permalink
ris: logging buffer on protobuf parser error
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed Jul 21, 2022
1 parent eeea84b commit f337fe1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pkg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[address-typeahead]
[email protected]:motis-project/address-typeahead.git
branch=master
commit=9b33a191c05ee3f489492ea9a89253eaa26b91d4
commit=d16126b3fea13f18263e58c0f680807d68d315cf
[cista]
[email protected]:felixguendling/cista.git
branch=master
Expand Down
4 changes: 2 additions & 2 deletions .pkg.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
7988291861477290975
15529530833837490018
cista 2a7afe921a5d1b244bf243b3f0eb44026eda2493
zlib 1e1dfdedddb54a2e2cb8fec3b67f925233c495aa
boost ad6cbb38470efd74265715e0972cb5ae44527fb1
Expand All @@ -11,7 +11,7 @@ protozero 8c9f3fa97c2cfdceef86d0b61818ae98e9328f29
Catch2 e5c9a58d66ff0780e956b5447573af9d6b9b2ca3
fmt c68ab4be8f3cb0e5c6eb181b3f419622e15e02bd
utl 7b489d567514e138d46a545d49702f168ded521a
address-typeahead 9b33a191c05ee3f489492ea9a89253eaa26b91d4
address-typeahead d16126b3fea13f18263e58c0f680807d68d315cf
conf 71febe940c0715ea69aa0c9980e08d31c5c946b8
context 797dd16e2b5e959997ddcd5bdeac4f80931169b6
ctx aec268c603d5d2fde734c4cea83445369b835a1d
Expand Down
3 changes: 2 additions & 1 deletion modules/ris/src/gtfs-rt/gtsfrt_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ void to_ris_message(knowledge_context& knowledge,
reinterpret_cast<void const*>(s.data()), s.size());

if (!success) {
LOG(logging::error) << "GTFS-RT unable to parse protobuf message " << tag;
LOG(logging::error) << "GTFS-RT unable to parse protobuf message " << tag
<< ": \"" << s << "\"";
return;
}

Expand Down

0 comments on commit f337fe1

Please sign in to comment.