refactor(app/web): new features (#1124) [skip ci]
This commit is contained in:
1 parent
7379fb21a8
commit
130c74b266
80 files changed
+1304
-1103
No files matched your search
@@ -79,8 +79,8 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
|
||||
<th colspan="2"><h2>🦑 Try it now!</h2></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><a href="https://metrics.lecoq.io">📊 Metrics embed</a></th>
|
||||
<th><a href="https://metrics.lecoq.io/about">✨ Metrics insights</a></th>
|
||||
<th><a href="https://metrics.lecoq.io/embed">📊 Metrics embed</a></th>
|
||||
<th><a href="https://metrics.lecoq.io/insights">✨ Metrics insights</a></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
|
||||
@@ -220,7 +220,8 @@ export default async function(
|
||||
},
|
||||
//Settings and tokens
|
||||
{
|
||||
enabled = false
|
||||
enabled = false,
|
||||
extras = false,
|
||||
} = {}) {
|
||||
//Plugin execution
|
||||
try {
|
||||
@@ -241,7 +242,7 @@ export default async function(
|
||||
}
|
||||
//Handle errors
|
||||
catch (error) {
|
||||
throw {error:{message:"An error occured", instance:error}}
|
||||
throw imports.format.error(error)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user