Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
org = "ballerina"
name = "observe"
version = "1.7.0"
distribution = "2201.13.0"
distribution = "2201.13.2"

[[package.modules]]
name = "observe.mockextension"
Expand All @@ -13,7 +13,7 @@ export = true
graalvmCompatible = true

[[platform.java21.dependency]]
path = "../native/build/libs/observe-native-1.7.0.jar"
path = "../native/build/libs/observe-native-1.7.0-SNAPSHOT.jar"
groupId = "ballerina"
artifactId = "observe"

Expand Down
4 changes: 2 additions & 2 deletions ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.13.0"
distribution-version = "2201.13.2"

[[package]]
org = "ballerina"
Expand All @@ -18,7 +18,7 @@ modules = [
[[package]]
org = "ballerina"
name = "observe"
version = "1.7.0"
version = "1.7.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
org.gradle.caching=true
group=io.ballerina.stdlib
version=1.7.1-SNAPSHOT
ballerinaLangVersion=2201.13.0
ballerinaLangVersion=2201.13.2-20260212-143500-e5b29948

spotbugsPluginVersion=6.0.18
shadowJarPluginVersion=8.1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public static Object getTagValue(Environment env, BString tagKey) {
if (ObserveUtils.isObservabilityEnabled()) {
ObserverContext observerContext = ObserveUtils.getObserverContextOfCurrentFrame(env);
if (observerContext == null) {
String value = ObserveUtils.getCustomTag(tagKey.getValue());
if (value != null) {
return StringUtils.fromString(value);
}
return null;
}
Tag tag = observerContext.getTag(tagKey.getValue());
Expand Down