mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00
better error reporting when ZAM code calls a function
This commit is contained in:
parent
1b6df1a04c
commit
2c9857a618
33 changed files with 38 additions and 52 deletions
|
@ -206,7 +206,9 @@ std::pair<bool, FramePtr> Frame::Unserialize(const broker::vector& data,
|
|||
|
||||
const detail::Location* Frame::GetCallLocation() const
|
||||
{
|
||||
return call ? call->GetLocationInfo() : call_loc;
|
||||
// This is currently trivial, but we keep it as an explicit
|
||||
// method because it can provide flexibility for compiled code.
|
||||
return call->GetLocationInfo();
|
||||
}
|
||||
|
||||
void Frame::SetTrigger(trigger::TriggerPtr arg_trigger)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue